# Prerequisites

Before you can use Microsoft Azure Event Hubs as a target endpoint in a Replicate task, the following prerequisites must be met:

* [](https://help.qlik.com/en-US/replicate/Content/Replicate/Main/Azure%20Event%20Hubs/azure_prereq.htm)The target hubs must already exist before starting the replication task. Note that if you intend to use the [Separate hub for each table](https://help.qlik.com/en-US/replicate/November2024/Content/Replicate/Main/Azure%20Event%20Hubs/azure_setting_general_properties.htm#separate) option in the endpoint settings, the hub name must adhere to the following format:

  `SourceSchemaName.HubName`

  where ` HubName  `must be identical to the source table name.

  Example:

  `HR.Employees`

* 

  Create a hub named attrep\_apply\_exceptions *before* starting the replication task. Note that if this hub does not exist, the task will always fail when it encounters a data error, regardless of the [error handling policy](https://help.qlik.com/en-US/replicate/November2024/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_dataErrorStab.htm).

  For a description of the attrep\_apply\_exceptions table, see [Apply exceptions](https://help.qlik.com/en-US/replicate/November2024/Content/Replicate/Main/Control%20Tables/apply_exceptions.htm)

* To be able to browse for hubs (in the [General tab](https://help.qlik.com/en-US/replicate/November2024/Content/Replicate/Main/Azure%20Event%20Hubs/azure_setting_general_properties.htm)), the namespace Shared Access Policy must have "Manage" permission.

* If the namespace shared access policy does not have "Manage" permission, then the hub Shared Access Policy must have at least "Send" permission.